package oop;

/**
 *
 * Java Class
 *
 *   - Field (Property)
 *   - Method
 *
 */
public class Person {

    private String name;

    private int age;
    private int height;
    private int weight;

    // Constructor
    // no arguments
    public Person() {

        this.name = "Ice Zero";

        this.age = 20;
        this.height = 170;
        this.weight = 58;
    }

    // Constructor can be overloaded
    // get initial arguments
    public Person(String name, int age, int height, int weight) {

        this.name = name;

        this.age = age;
        this.height = height;
        this.weight = weight;
    }

    public String getName() {
        return name;
    }

    public int getAge() {
        return age;
    }

    public int getHeight() {
        return height;
    }

    public int getWeight() {
        return weight;
    }
}